package com.gx.server.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gx.server.model.enums.PaymentStatus;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Dobby
 * @version 1.0
 */
@Data
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private int id;
    private User user;
    private Membership membership;
    private BigDecimal amount;
    private PaymentStatus paymentStatus;

}
